package com.example.home1023;

public class Fruit {
    private int imageId;
    private String name;
    private String price;

    public Fruit(int imageId, String name, String price) {
        this.imageId = imageId;
        this.name = name;
        this.price = price;
    }

    public int getImageId() {
        return imageId;
    }

    public String getName() {
        return name;
    }

    public String getPrice() {
        return price;
    }

    @Override
    public String toString() {
        return "Fruit{" +
                "imageId=" + imageId +
                ", name='" + name + '\'' +
                ", price='" + price + '\'' +
                '}';
    }
}
